colorchooser: Do less in ::response
authorMatthias Clasen <mclasen@redhat.com>
Thu, 8 Mar 2012 02:42:28 +0000 (21:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 8 Mar 2012 02:42:28 +0000 (21:42 -0500)
commitad8bf6491c4baf1782e504d925c45c286030ab27
tree8b499b0014cf507f5ce01856359c449d2aac62c3
parent33004cb5e6a02dad7ff0a935b6f2022766cc1ba8
colorchooser: Do less in ::response

Some people destroy their widgets in ::response, so trying
to access dialog internals from the class handler that is
running afterwards has the potential to cause problems.
Instead, we can reset the ::show-editor property every
time we map the dialog.
gtk/gtkcolorchooserdialog.c